package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.CbShareBean;

/**
* 描述：获取可转债转股结果
* @author: codesmith
**/
@Data
@TableName("cb_share")
public class CbShareEntity implements CbShareBean {
    
    /*
    * 债券代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`bond_short_name`") protected String bondShortName;

    @TableField("`publish_date`") protected LocalDate publishDate;
    /*
    * 统计截止日期
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`issue_size`") protected Double issueSize;

    @TableField("`convert_price_initial`") protected Double convertPriceInitial;

    @TableField("`convert_price`") protected Double convertPrice;

    @TableField("`convert_val`") protected Double convertVal;

    @TableField("`convert_vol`") protected Double convertVol;

    @TableField("`convert_ratio`") protected Double convertRatio;

    @TableField("`acc_convert_val`") protected Double accConvertVal;

    @TableField("`acc_convert_vol`") protected Double accConvertVol;

    @TableField("`acc_convert_ratio`") protected Double accConvertRatio;

    @TableField("`remain_size`") protected Double remainSize;

    @TableField("`total_shares`") protected Double totalShares;
}